package uk.ac.cam.djjb2.mygame;

import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

public class PlayerImpl implements Player {

	Set<Vector2i> visibleTiles = Collections.unmodifiableSet(new HashSet<Vector2i>());
	
	public void setVisibleTiles(Set<Vector2i> tiles) {
		this.visibleTiles = Collections.unmodifiableSet(new HashSet<Vector2i>(tiles));
	}
	
	@Override
	public Set<Vector2i> getVisibleTiles() {
		return visibleTiles;
	}

}
